package com.edu.zju.scs.panacea.entity.resource;

/**
 * @Author: Yue Liang
 * @Date: 2018-12-13 18:42
 */
public class Dev {
    /**
     * 自增ID
     */
    private Long id;

    /**
     * 设备唯一编号
     */
    private String ownId;

    /**
     * 大屏上的wifi探针的唯一标识，默认为探针设备的mac地址
     */
    private String probeId;

    /**
     * 设备名称，不指定时为"default"
     */
    private String name;

    /**
     * 设备所在站点的ID
     */
    private Long siteId;

    /**
     * 设备的高度，单位为公分
     */
    private float height;

    /**
     * 设备的宽度，单位为公分
     */
    private float width;

    /**
     * 设备所在的位置
     */
    private Position position;

    /**
     * 设备所在经度位置
     */
    private float longitude;

    /**
     * 设备所在的纬度位置
     */
    private float latitude;

    /**
     * 设备类型，0表示可互动屏幕，1表示不可互动屏幕
     */
    private Integer type;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOwnId() {
        return ownId;
    }

    public void setOwnId(String ownId) {
        this.ownId = ownId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getSiteId() {
        return siteId;
    }

    public void setSiteId(Long siteId) {
        this.siteId = siteId;
    }

    public float getHeight() {
        return height;
    }

    public void setHeight(float height) {
        this.height = height;
    }

    public float getWidth() {
        return width;
    }

    public void setWidth(float width) {
        this.width = width;
    }

    public Position getPosition() {
        return position;
    }

    public void setPosition(Position position) {
        this.position = position;
    }

    public float getLongitude() {
        return longitude;
    }

    public void setLongitude(float longitude) {
        this.longitude = longitude;
    }

    public float getLatitude() {
        return latitude;
    }

    public void setLatitude(float latitude) {
        this.latitude = latitude;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getProbeId() {
        return probeId;
    }

    public void setProbeId(String probeId) {
        this.probeId = probeId;
    }

    @Override
    public String toString() {
        return "Dev{" +
                "id=" + id +
                ", ownId='" + ownId + '\'' +
                ", name='" + name + '\'' +
                ", siteId=" + siteId +
                ", height=" + height +
                ", width=" + width +
                ", position=" + position +
                ", longitude=" + longitude +
                ", latitude=" + latitude +
                ", type=" + type +
                '}';
    }
}
